Iphone SDK 4 [CLLocationManager headingAvailable]

Posted by Raphael Pinto on Stack Overflow See other posts from Stack Overflow or by Raphael Pinto
Published on 2010-04-16T13:18:28Z Indexed on 2010/04/16 13:23 UTC
Read the original article Hit count: 1281

Filed under:
|
|
|

I used to get disponibility of heading on iphone OS 3.1.3 checking headingAvailable property. But in OS 4.0 it has been deprecated. Now we have to use headingAvailable function.

My problem is that I get a :

warning: 'headingAvailable' is deprecated

when I call the function :

 if([locationManager headingAvailable])
     [locationManager startUpdatingHeading];

I realy want to understand why?!

© Stack Overflow or respective owner

Related posts about iphone

Related posts about cllocationmanager